package com.yonyou.iuap.jxzy.dao;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.springframework.data.domain.PageRequest;

import com.yonyou.iuap.baseservice.persistence.mybatis.mapper.GenericMapper;
import com.yonyou.iuap.jxzy.entity.DomesticPaper;
import com.yonyou.iuap.jxzy.entity.FileUrlEntity;
import com.yonyou.iuap.jxzy.entity.PoundPictrueUrlEntity;
import com.yonyou.iuap.jxzy.entity.WastePaperHeadVO;
import com.yonyou.iuap.mvc.type.SearchParams;
import com.yonyou.iuap.mybatis.anotation.MyBatisRepository;
import com.yonyou.iuap.mybatis.type.PageResult;


@MyBatisRepository
public interface DomesticPaperMapper extends GenericMapper<DomesticPaper> {
	
	PageResult<DomesticPaper> selectAllByPage(@Param("page") PageRequest var1,
			@Param("condition") SearchParams var2);

	public void verify(List<DomesticPaper> arr);
	
	public int saveH(DomesticPaper domesticPaper);
	
	public int saveB(DomesticPaper domesticPaper);
	
	public int saveA(DomesticPaper domesticPaper);
	
	public int saveM(List<DomesticPaper> arr);
	
	public int saveS(List<DomesticPaper> arr);
	
	public List<DomesticPaper> queryPushPound(List<DomesticPaper> arr);
	
	/** 保存图片路径与对应磅单号 */
	public int savePictureUrl(List<PoundPictrueUrlEntity> urls);
	
//	public int savePictureUrl(@Param("id")String id,
//							  @Param("billid")String billid,
//						   	  @Param("path")String path);
	
}

